package main

import (
	"fmt"
	"github.com/dtm-labs/client/dtmcli/dtmimp"
)

func main() {
	originOp := map[string]string{
		dtmimp.OpCancel:     dtmimp.OpTry,    // tcc
		dtmimp.OpCompensate: dtmimp.OpAction, // saga
		dtmimp.OpRollback:   dtmimp.OpAction, // workflow
	}["bb.Op"]
	fmt.Println(originOp)
}
